home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIObjects.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-01
|
50KB
|
1,419 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIObjects.h.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emith.dll: 2.33
*/
#ifndef SOM_HIObject_h
#define SOM_HIObject_h
/*
* Passthru lines: File: "C.h", "before"
*/
#include <Types.h>
#include <Quickdraw.h>
#include <TextObjects.h>
#include <Drag.h>
#include <Collections.h>
#include <HIImagingObjects.h>
#include <HIObjectTypes.h>
#include <som.h>
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* Define the class name as an object type
*/
#ifndef HIObject
#define HIObject SOMObject
#endif
#include <somobj.h>
/*
* Start of user-defined types:
*/
#ifndef SOMClass
#define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMObject
#define SOMObject SOMObject
#endif /* SOMObject */
#ifndef HIWindow
#define HIWindow SOMObject
#endif /* HIWindow */
/*
* End of user-defined types.
*/
#define HIObject_MajorVersion 0
#define HIObject_MinorVersion 0
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define HIObjectClassData d
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIObject_classObj somNewClassReference(HIObject)
#define _HIObject HIObject_classObj
#define HIObjectCClassData HIObjectClassData
#define HIObjectNewClass(major,minor) somNewVersionedClassReference(HIObject,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIObjectMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/*
* Declare the class data structure
*/
SOMEXTERN struct HIObjectClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMAny *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken GetWindow;
somMToken GetPort;
somMToken GetRefLabel;
somMToken GetCollection;
somMToken AddStateChangeCallback;
somMToken RemoveStateChangeCallback;
somMToken SetBackgroundPattern;
somMToken GetBackgroundPattern;
somMToken Init;
somMToken Terminate;
somMToken InitFromAERecord;
somMToken WriteToAERecord;
somMToken CalculateOptimalSize;
somMToken GetBoundingRect;
somMToken SetBoundingRect;
somMToken SetPosition;
somMToken SetSize;
somMToken GetUpdateRect;
somMToken Enable;
somMToken Disable;
somMToken IsEnabled;
somMToken Show;
somMToken Hide;
somMToken IsVisible;
somMToken HandleAppleEvent;
somMToken HandleActivate;
somMToken HandleDeactivate;
somMToken HandleNavigation;
somMToken HandleMouseDownInContent;
somMToken HandleMouseUpInContent;
somMToken HandleMouseMovedInContent;
somMToken HandleMouseStoppedMovingInContent;
somMToken TakeUserInputFocus;
somMToken ReleaseUserInputFocus;
somMToken HasUserInputFocus;
somMToken CanReleaseUserInputFocus;
somMToken SetUserInputFocusFlags;
somMToken GetUserInputFocusFlags;
somMToken SetTitle;
somMToken GetTitle;
somMToken Draw;
somMToken Erase;
somMToken Invalidate;
somMToken GetDrawingMode;
somMToken SetDrawingMode;
somMToken Cut;
somMToken Copy;
somMToken Paste;
somMToken Clear;
somMToken SetClipboardSupportFlags;
somMToken GetClipboardSupportFlags;
somMToken DrawContent;
somMToken EraseContent;
somMToken TranslatePoint;
somMToken TranslateRect;
somMToken StateChanged;
somMToken Verify;
somMethodProc *GetHIObjectFromRefLabel;
somMethodProc *GetNewHIObject;
somMethodProc *GetNewHIObjectFromResource;
somMToken Clone;
somMToken Release;
somMToken GetOwnerCount;
} SOMDLINK HIObjectClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIObject_Class_Source) && !defined(SOM_Module_hiobjects_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIObjectClassData
#endif
#endif
/*
* New macro for HIObject
*/
#define HIObjectNew() somNewObject(HIObject)
/*
* New Method: GetWindow
*/
typedef HIWindow* (SOMLINK *somTD_HIObject_GetWindow)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetWindow "::HIObject::GetWindow"
#define HIObject_GetWindow(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetWindow) \
(somSelf,ev))
#ifndef SOMGD_GetWindow
#if defined _GetWindow || defined __GetWindow
#undef _GetWindow
#undef __GetWindow
#define SOMGD_GetWindow 1
#else
#define _GetWindow HIObject_GetWindow
#endif /* _GetWindow */
#endif /* SOMGD_GetWindow */
/*
* New Method: GetPort
*/
typedef CGrafPtr (SOMLINK *somTD_HIObject_GetPort)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetPort "::HIObject::GetPort"
#define HIObject_GetPort(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetPort) \
(somSelf,ev))
#ifndef SOMGD_GetPort
#if defined _GetPort || defined __GetPort
#undef _GetPort
#undef __GetPort
#define SOMGD_GetPort 1
#else
#define _GetPort HIObject_GetPort
#endif /* _GetPort */
#endif /* SOMGD_GetPort */
/*
* New Method: GetRefLabel
*/
typedef void (SOMLINK *somTD_HIObject_GetRefLabel)(HIObject *somSelf, Environment *ev,
RefLabel* identifier);
#define somMD_HIObject_GetRefLabel "::HIObject::GetRefLabel"
#define HIObject_GetRefLabel(somSelf,ev,identifier) \
(SOM_Resolve(somSelf, HIObject, GetRefLabel) \
(somSelf,ev,identifier))
#ifndef SOMGD_GetRefLabel
#if defined _GetRefLabel || defined __GetRefLabel
#undef _GetRefLabel
#undef __GetRefLabel
#define SOMGD_GetRefLabel 1
#else
#define _GetRefLabel HIObject_GetRefLabel
#endif /* _GetRefLabel */
#endif /* SOMGD_GetRefLabel */
/*
* New Method: GetCollection
*/
typedef Collection (SOMLINK *somTD_HIObject_GetCollection)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetCollection "::HIObject::GetCollection"
#define HIObject_GetCollection(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetCollection) \
(somSelf,ev))
#ifndef SOMGD_GetCollection
#if defined _GetCollection || defined __GetCollection
#undef _GetCollection
#undef __GetCollection
#define SOMGD_GetCollection 1
#else
#define _GetCollection HIObject_GetCollection
#endif /* _GetCollection */
#endif /* SOMGD_GetCollection */
/*
* New Method: Init
*/
typedef OSStatus (SOMLINK *somTD_HIObject_Init)(HIObject *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
#define somMD_HIObject_Init "::HIObject::Init"
#define HIObject_Init(somSelf,ev,identifier,boundingRect) \
(SOM_Resolve(somSelf, HIObject, Init) \
(somSelf,ev,identifier,boundingRect))
#ifndef SOMGD_Init
#if defined _Init || defined __Init
#undef _Init
#undef __Init
#define SOMGD_Init 1
#else
#define _Init HIObject_Init
#endif /* _Init */
#endif /* SOMGD_Init */
/*
* New Method: Terminate
*/
typedef void (SOMLINK *somTD_HIObject_Terminate)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Terminate "::HIObject::Terminate"
#define HIObject_Terminate(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Terminate) \
(somSelf,ev))
#ifndef SOMGD_Terminate
#if defined _Terminate || defined __Terminate
#undef _Terminate
#undef __Terminate
#define SOMGD_Terminate 1
#else
#define _Terminate HIObject_Terminate
#endif /* _Terminate */
#endif /* SOMGD_Terminate */
/*
* New Method: Clone
*/
typedef HIObject* (SOMLINK *somTD_HIObject_Clone)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Clone "::HIObject::Clone"
#define HIObject_Clone(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Clone) \
(somSelf,ev))
#ifndef SOMGD_Clone
#if defined _Clone || defined __Clone
#undef _Clone
#undef __Clone
#define SOMGD_Clone 1
#else
#define _Clone HIObject_Clone
#endif /* _Clone */
#endif /* SOMGD_Clone */
/*
* New Method: Release
*/
typedef void (SOMLINK *somTD_HIObject_Release)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Release "::HIObject::Release"
#define HIObject_Release(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Release) \
(somSelf,ev))
#ifndef SOMGD_Release
#if defined _Release || defined __Release
#undef _Release
#undef __Release
#define SOMGD_Release 1
#else
#define _Release HIObject_Release
#endif /* _Release */
#endif /* SOMGD_Release */
/*
* New Method: GetOwnerCount
*/
typedef ItemCount (SOMLINK *somTD_HIObject_GetOwnerCount)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetOwnerCount "::HIObject::GetOwnerCount"
#define HIObject_GetOwnerCount(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetOwnerCount) \
(somSelf,ev))
#ifndef SOMGD_GetOwnerCount
#if defined _GetOwnerCount || defined __GetOwnerCount
#undef _GetOwnerCount
#undef __GetOwnerCount
#define SOMGD_GetOwnerCount 1
#else
#define _GetOwnerCount HIObject_GetOwnerCount
#endif /* _GetOwnerCount */
#endif /* SOMGD_GetOwnerCount */
/*
* New Method: InitFromAERecord
*/
typedef OSStatus (SOMLINK *somTD_HIObject_InitFromAERecord)(HIObject *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
#define somMD_HIObject_InitFromAERecord "::HIObject::InitFromAERecord"
#define HIObject_InitFromAERecord(somSelf,ev,baseInitializerData,initializerDataForClass,dataFormat) \
(SOM_Resolve(somSelf, HIObject, InitFromAERecord) \
(somSelf,ev,baseInitializerData,initializerDataForClass,dataFormat))
#ifndef SOMGD_InitFromAERecord
#if defined _InitFromAERecord || defined __InitFromAERecord
#undef _InitFromAERecord
#undef __InitFromAERecord
#define SOMGD_InitFromAERecord 1
#else
#define _InitFromAERecord HIObject_InitFromAERecord
#endif /* _InitFromAERecord */
#endif /* SOMGD_InitFromAERecord */
/*
* New Method: WriteToAERecord
*/
typedef OSStatus (SOMLINK *somTD_HIObject_WriteToAERecord)(HIObject *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
#define somMD_HIObject_WriteToAERecord "::HIObject::WriteToAERecord"
#define HIObject_WriteToAERecord(somSelf,ev,dataForSubclass,objectData,dataFormat) \
(SOM_Resolve(somSelf, HIObject, WriteToAERecord) \
(somSelf,ev,dataForSubclass,objectData,dataFormat))
#ifndef SOMGD_WriteToAERecord
#if defined _WriteToAERecord || defined __WriteToAERecord
#undef _WriteToAERecord
#undef __WriteToAERecord
#define SOMGD_WriteToAERecord 1
#else
#define _WriteToAERecord HIObject_WriteToAERecord
#endif /* _WriteToAERecord */
#endif /* SOMGD_WriteToAERecord */
/*
* New Method: CalculateOptimalSize
*/
typedef void (SOMLINK *somTD_HIObject_CalculateOptimalSize)(HIObject *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
#define somMD_HIObject_CalculateOptimalSize "::HIObject::CalculateOptimalSize"
#define HIObject_CalculateOptimalSize(somSelf,ev,optimalWidth,optimalHeight) \
(SOM_Resolve(somSelf, HIObject, CalculateOptimalSize) \
(somSelf,ev,optimalWidth,optimalHeight))
#ifndef SOMGD_CalculateOptimalSize
#if defined _CalculateOptimalSize || defined __CalculateOptimalSize
#undef _CalculateOptimalSize
#undef __CalculateOptimalSize
#define SOMGD_CalculateOptimalSize 1
#else
#define _CalculateOptimalSize HIObject_CalculateOptimalSize
#endif /* _CalculateOptimalSize */
#endif /* SOMGD_CalculateOptimalSize */
/*
* New Method: GetBoundingRect
*/
typedef void (SOMLINK *somTD_HIObject_GetBoundingRect)(HIObject *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
#define somMD_HIObject_GetBoundingRect "::HIObject::GetBoundingRect"
#define HIObject_GetBoundingRect(somSelf,ev,coordinate,boundingRect) \
(SOM_Resolve(somSelf, HIObject, GetBoundingRect) \
(somSelf,ev,coordinate,boundingRect))
#ifndef SOMGD_GetBoundingRect
#if defined _GetBoundingRect || defined __GetBoundingRect
#undef _GetBoundingRect
#undef __GetBoundingRect
#define SOMGD_GetBoundingRect 1
#else
#define _GetBoundingRect HIObject_GetBoundingRect
#endif /* _GetBoundingRect */
#endif /* SOMGD_GetBoundingRect */
/*
* New Method: SetBoundingRect
*/
typedef void (SOMLINK *somTD_HIObject_SetBoundingRect)(HIObject *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
#define somMD_HIObject_SetBoundingRect "::HIObject::SetBoundingRect"
#define HIObject_SetBoundingRect(somSelf,ev,coordinate,newBoundingRect) \
(SOM_Resolve(somSelf, HIObject, SetBoundingRect) \
(somSelf,ev,coordinate,newBoundingRect))
#ifndef SOMGD_SetBoundingRect
#if defined _SetBoundingRect || defined __SetBoundingRect
#undef _SetBoundingRect
#undef __SetBoundingRect
#define SOMGD_SetBoundingRect 1
#else
#define _SetBoundingRect HIObject_SetBoundingRect
#endif /* _SetBoundingRect */
#endif /* SOMGD_SetBoundingRect */
/*
* New Method: SetPosition
*/
typedef void (SOMLINK *somTD_HIObject_SetPosition)(HIObject *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
#define somMD_HIObject_SetPosition "::HIObject::SetPosition"
#define HIObject_SetPosition(somSelf,ev,coordinate,newPosition) \
(SOM_Resolve(somSelf, HIObject, SetPosition) \
(somSelf,ev,coordinate,newPosition))
#ifndef SOMGD_SetPosition
#if defined _SetPosition || defined __SetPosition
#undef _SetPosition
#undef __SetPosition
#define SOMGD_SetPosition 1
#else
#define _SetPosition HIObject_SetPosition
#endif /* _SetPosition */
#endif /* SOMGD_SetPosition */
/*
* New Method: SetSize
*/
typedef void (SOMLINK *somTD_HIObject_SetSize)(HIObject *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
#define somMD_HIObject_SetSize "::HIObject::SetSize"
#define HIObject_SetSize(somSelf,ev,width,height) \
(SOM_Resolve(somSelf, HIObject, SetSize) \
(somSelf,ev,width,height))
#ifndef SOMGD_SetSize
#if defined _SetSize || defined __SetSize
#undef _SetSize
#undef __SetSize
#define SOMGD_SetSize 1
#else
#define _SetSize HIObject_SetSize
#endif /* _SetSize */
#endif /* SOMGD_SetSize */
/*
* New Method: GetUpdateRect
*/
typedef void (SOMLINK *somTD_HIObject_GetUpdateRect)(HIObject *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
#define somMD_HIObject_GetUpdateRect "::HIObject::GetUpdateRect"
#define HIObject_GetUpdateRect(somSelf,ev,coordinate,updateRect) \
(SOM_Resolve(somSelf, HIObject, GetUpdateRect) \
(somSelf,ev,coordinate,updateRect))
#ifndef SOMGD_GetUpdateRect
#if defined _GetUpdateRect || defined __GetUpdateRect
#undef _GetUpdateRect
#undef __GetUpdateRect
#define SOMGD_GetUpdateRect 1
#else
#define _GetUpdateRect HIObject_GetUpdateRect
#endif /* _GetUpdateRect */
#endif /* SOMGD_GetUpdateRect */
/*
* New Method: Enable
*/
typedef void (SOMLINK *somTD_HIObject_Enable)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Enable "::HIObject::Enable"
#define HIObject_Enable(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Enable) \
(somSelf,ev))
#ifndef SOMGD_Enable
#if defined _Enable || defined __Enable
#undef _Enable
#undef __Enable
#define SOMGD_Enable 1
#else
#define _Enable HIObject_Enable
#endif /* _Enable */
#endif /* SOMGD_Enable */
/*
* New Method: Disable
*/
typedef void (SOMLINK *somTD_HIObject_Disable)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Disable "::HIObject::Disable"
#define HIObject_Disable(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Disable) \
(somSelf,ev))
#ifndef SOMGD_Disable
#if defined _Disable || defined __Disable
#undef _Disable
#undef __Disable
#define SOMGD_Disable 1
#else
#define _Disable HIObject_Disable
#endif /* _Disable */
#endif /* SOMGD_Disable */
/*
* New Method: IsEnabled
*/
typedef boolean (SOMLINK *somTD_HIObject_IsEnabled)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_IsEnabled "::HIObject::IsEnabled"
#define HIObject_IsEnabled(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, IsEnabled) \
(somSelf,ev))
#ifndef SOMGD_IsEnabled
#if defined _IsEnabled || defined __IsEnabled
#undef _IsEnabled
#undef __IsEnabled
#define SOMGD_IsEnabled 1
#else
#define _IsEnabled HIObject_IsEnabled
#endif /* _IsEnabled */
#endif /* SOMGD_IsEnabled */
/*
* New Method: Show
*/
typedef void (SOMLINK *somTD_HIObject_Show)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Show "::HIObject::Show"
#define HIObject_Show(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Show) \
(somSelf,ev))
#ifndef SOMGD_Show
#if defined _Show || defined __Show
#undef _Show
#undef __Show
#define SOMGD_Show 1
#else
#define _Show HIObject_Show
#endif /* _Show */
#endif /* SOMGD_Show */
/*
* New Method: Hide
*/
typedef void (SOMLINK *somTD_HIObject_Hide)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Hide "::HIObject::Hide"
#define HIObject_Hide(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Hide) \
(somSelf,ev))
#ifndef SOMGD_Hide
#if defined _Hide || defined __Hide
#undef _Hide
#undef __Hide
#define SOMGD_Hide 1
#else
#define _Hide HIObject_Hide
#endif /* _Hide */
#endif /* SOMGD_Hide */
/*
* New Method: IsVisible
*/
typedef boolean (SOMLINK *somTD_HIObject_IsVisible)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_IsVisible "::HIObject::IsVisible"
#define HIObject_IsVisible(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, IsVisible) \
(somSelf,ev))
#ifndef SOMGD_IsVisible
#if defined _IsVisible || defined __IsVisible
#undef _IsVisible
#undef __IsVisible
#define SOMGD_IsVisible 1
#else
#define _IsVisible HIObject_IsVisible
#endif /* _IsVisible */
#endif /* SOMGD_IsVisible */
/*
* New Method: HandleAppleEvent
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleAppleEvent)(HIObject *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleAppleEvent "::HIObject::HandleAppleEvent"
#define HIObject_HandleAppleEvent(somSelf,ev,eventClass,eventID,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleAppleEvent) \
(somSelf,ev,eventClass,eventID,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleAppleEvent
#if defined _HandleAppleEvent || defined __HandleAppleEvent
#undef _HandleAppleEvent
#undef __HandleAppleEvent
#define SOMGD_HandleAppleEvent 1
#else
#define _HandleAppleEvent HIObject_HandleAppleEvent
#endif /* _HandleAppleEvent */
#endif /* SOMGD_HandleAppleEvent */
/*
* New Method: HandleActivate
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleActivate)(HIObject *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleActivate "::HIObject::HandleActivate"
#define HIObject_HandleActivate(somSelf,ev,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleActivate) \
(somSelf,ev,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleActivate
#if defined _HandleActivate || defined __HandleActivate
#undef _HandleActivate
#undef __HandleActivate
#define SOMGD_HandleActivate 1
#else
#define _HandleActivate HIObject_HandleActivate
#endif /* _HandleActivate */
#endif /* SOMGD_HandleActivate */
/*
* New Method: HandleDeactivate
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleDeactivate)(HIObject *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleDeactivate "::HIObject::HandleDeactivate"
#define HIObject_HandleDeactivate(somSelf,ev,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleDeactivate) \
(somSelf,ev,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleDeactivate
#if defined _HandleDeactivate || defined __HandleDeactivate
#undef _HandleDeactivate
#undef __HandleDeactivate
#define SOMGD_HandleDeactivate 1
#else
#define _HandleDeactivate HIObject_HandleDeactivate
#endif /* _HandleDeactivate */
#endif /* SOMGD_HandleDeactivate */
/*
* New Method: HandleNavigation
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleNavigation)(HIObject *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleNavigation "::HIObject::HandleNavigation"
#define HIObject_HandleNavigation(somSelf,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleNavigation) \
(somSelf,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleNavigation
#if defined _HandleNavigation || defined __HandleNavigation
#undef _HandleNavigation
#undef __HandleNavigation
#define SOMGD_HandleNavigation 1
#else
#define _HandleNavigation HIObject_HandleNavigation
#endif /* _HandleNavigation */
#endif /* SOMGD_HandleNavigation */
/*
* New Method: HandleMouseDownInContent
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleMouseDownInContent)(HIObject *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleMouseDownInContent "::HIObject::HandleMouseDownInContent"
#define HIObject_HandleMouseDownInContent(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleMouseDownInContent) \
(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleMouseDownInContent
#if defined _HandleMouseDownInContent || defined __HandleMouseDownInContent
#undef _HandleMouseDownInContent
#undef __HandleMouseDownInContent
#define SOMGD_HandleMouseDownInContent 1
#else
#define _HandleMouseDownInContent HIObject_HandleMouseDownInContent
#endif /* _HandleMouseDownInContent */
#endif /* SOMGD_HandleMouseDownInContent */
/*
* New Method: HandleMouseMovedInContent
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleMouseMovedInContent)(HIObject *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleMouseMovedInContent "::HIObject::HandleMouseMovedInContent"
#define HIObject_HandleMouseMovedInContent(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleMouseMovedInContent) \
(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleMouseMovedInContent
#if defined _HandleMouseMovedInContent || defined __HandleMouseMovedInContent
#undef _HandleMouseMovedInContent
#undef __HandleMouseMovedInContent
#define SOMGD_HandleMouseMovedInContent 1
#else
#define _HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
#endif /* _HandleMouseMovedInContent */
#endif /* SOMGD_HandleMouseMovedInContent */
/*
* New Method: HandleMouseStoppedMovingInContent
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleMouseStoppedMovingInContent)(HIObject *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleMouseStoppedMovingInContent "::HIObject::HandleMouseStoppedMovingInContent"
#define HIObject_HandleMouseStoppedMovingInContent(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleMouseStoppedMovingInContent) \
(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleMouseStoppedMovingInContent
#if defined _HandleMouseStoppedMovingInContent || defined __HandleMouseStoppedMovingInContent
#undef _HandleMouseStoppedMovingInContent
#undef __HandleMouseStoppedMovingInContent
#define SOMGD_HandleMouseStoppedMovingInContent 1
#else
#define _HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
#endif /* _HandleMouseStoppedMovingInContent */
#endif /* SOMGD_HandleMouseStoppedMovingInContent */
/*
* New Method: HandleMouseUpInContent
*/
typedef OSStatus (SOMLINK *somTD_HIObject_HandleMouseUpInContent)(HIObject *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
#define somMD_HIObject_HandleMouseUpInContent "::HIObject::HandleMouseUpInContent"
#define HIObject_HandleMouseUpInContent(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef) \
(SOM_Resolve(somSelf, HIObject, HandleMouseUpInContent) \
(somSelf,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef))
#ifndef SOMGD_HandleMouseUpInContent
#if defined _HandleMouseUpInContent || defined __HandleMouseUpInContent
#undef _HandleMouseUpInContent
#undef __HandleMouseUpInContent
#define SOMGD_HandleMouseUpInContent 1
#else
#define _HandleMouseUpInContent HIObject_HandleMouseUpInContent
#endif /* _HandleMouseUpInContent */
#endif /* SOMGD_HandleMouseUpInContent */
/*
* New Method: TakeUserInputFocus
*/
typedef void (SOMLINK *somTD_HIObject_TakeUserInputFocus)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_TakeUserInputFocus "::HIObject::TakeUserInputFocus"
#define HIObject_TakeUserInputFocus(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, TakeUserInputFocus) \
(somSelf,ev))
#ifndef SOMGD_TakeUserInputFocus
#if defined _TakeUserInputFocus || defined __TakeUserInputFocus
#undef _TakeUserInputFocus
#undef __TakeUserInputFocus
#define SOMGD_TakeUserInputFocus 1
#else
#define _TakeUserInputFocus HIObject_TakeUserInputFocus
#endif /* _TakeUserInputFocus */
#endif /* SOMGD_TakeUserInputFocus */
/*
* New Method: ReleaseUserInputFocus
*/
typedef void (SOMLINK *somTD_HIObject_ReleaseUserInputFocus)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_ReleaseUserInputFocus "::HIObject::ReleaseUserInputFocus"
#define HIObject_ReleaseUserInputFocus(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, ReleaseUserInputFocus) \
(somSelf,ev))
#ifndef SOMGD_ReleaseUserInputFocus
#if defined _ReleaseUserInputFocus || defined __ReleaseUserInputFocus
#undef _ReleaseUserInputFocus
#undef __ReleaseUserInputFocus
#define SOMGD_ReleaseUserInputFocus 1
#else
#define _ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
#endif /* _ReleaseUserInputFocus */
#endif /* SOMGD_ReleaseUserInputFocus */
/*
* New Method: HasUserInputFocus
*/
typedef boolean (SOMLINK *somTD_HIObject_HasUserInputFocus)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_HasUserInputFocus "::HIObject::HasUserInputFocus"
#define HIObject_HasUserInputFocus(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, HasUserInputFocus) \
(somSelf,ev))
#ifndef SOMGD_HasUserInputFocus
#if defined _HasUserInputFocus || defined __HasUserInputFocus
#undef _HasUserInputFocus
#undef __HasUserInputFocus
#define SOMGD_HasUserInputFocus 1
#else
#define _HasUserInputFocus HIObject_HasUserInputFocus
#endif /* _HasUserInputFocus */
#endif /* SOMGD_HasUserInputFocus */
/*
* New Method: CanReleaseUserInputFocus
*/
typedef boolean (SOMLINK *somTD_HIObject_CanReleaseUserInputFocus)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_CanReleaseUserInputFocus "::HIObject::CanReleaseUserInputFocus"
#define HIObject_CanReleaseUserInputFocus(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, CanReleaseUserInputFocus) \
(somSelf,ev))
#ifndef SOMGD_CanReleaseUserInputFocus
#if defined _CanReleaseUserInputFocus || defined __CanReleaseUserInputFocus
#undef _CanReleaseUserInputFocus
#undef __CanReleaseUserInputFocus
#define SOMGD_CanReleaseUserInputFocus 1
#else
#define _CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
#endif /* _CanReleaseUserInputFocus */
#endif /* SOMGD_CanReleaseUserInputFocus */
/*
* New Method: SetUserInputFocusFlags
*/
typedef void (SOMLINK *somTD_HIObject_SetUserInputFocusFlags)(HIObject *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
#define somMD_HIObject_SetUserInputFocusFlags "::HIObject::SetUserInputFocusFlags"
#define HIObject_SetUserInputFocusFlags(somSelf,ev,flags) \
(SOM_Resolve(somSelf, HIObject, SetUserInputFocusFlags) \
(somSelf,ev,flags))
#ifndef SOMGD_SetUserInputFocusFlags
#if defined _SetUserInputFocusFlags || defined __SetUserInputFocusFlags
#undef _SetUserInputFocusFlags
#undef __SetUserInputFocusFlags
#define SOMGD_SetUserInputFocusFlags 1
#else
#define _SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
#endif /* _SetUserInputFocusFlags */
#endif /* SOMGD_SetUserInputFocusFlags */
/*
* New Method: GetUserInputFocusFlags
*/
typedef HIUserInputFocusFlags (SOMLINK *somTD_HIObject_GetUserInputFocusFlags)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetUserInputFocusFlags "::HIObject::GetUserInputFocusFlags"
#define HIObject_GetUserInputFocusFlags(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetUserInputFocusFlags) \
(somSelf,ev))
#ifndef SOMGD_GetUserInputFocusFlags
#if defined _GetUserInputFocusFlags || defined __GetUserInputFocusFlags
#undef _GetUserInputFocusFlags
#undef __GetUserInputFocusFlags
#define SOMGD_GetUserInputFocusFlags 1
#else
#define _GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
#endif /* _GetUserInputFocusFlags */
#endif /* SOMGD_GetUserInputFocusFlags */
/*
* New Method: SetTitle
*/
typedef OSStatus (SOMLINK *somTD_HIObject_SetTitle)(HIObject *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
#define somMD_HIObject_SetTitle "::HIObject::SetTitle"
#define HIObject_SetTitle(somSelf,ev,title,disposalAdoptionFlags) \
(SOM_Resolve(somSelf, HIObject, SetTitle) \
(somSelf,ev,title,disposalAdoptionFlags))
#ifndef SOMGD_SetTitle
#if defined _SetTitle || defined __SetTitle
#undef _SetTitle
#undef __SetTitle
#define SOMGD_SetTitle 1
#else
#define _SetTitle HIObject_SetTitle
#endif /* _SetTitle */
#endif /* SOMGD_SetTitle */
/*
* New Method: GetTitle
*/
typedef OSStatus (SOMLINK *somTD_HIObject_GetTitle)(HIObject *somSelf, Environment *ev,
HIImageRef* title);
#define somMD_HIObject_GetTitle "::HIObject::GetTitle"
#define HIObject_GetTitle(somSelf,ev,title) \
(SOM_Resolve(somSelf, HIObject, GetTitle) \
(somSelf,ev,title))
#ifndef SOMGD_GetTitle
#if defined _GetTitle || defined __GetTitle
#undef _GetTitle
#undef __GetTitle
#define SOMGD_GetTitle 1
#else
#define _GetTitle HIObject_GetTitle
#endif /* _GetTitle */
#endif /* SOMGD_GetTitle */
/*
* New Method: Draw
*/
typedef void (SOMLINK *somTD_HIObject_Draw)(HIObject *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
#define somMD_HIObject_Draw "::HIObject::Draw"
#define HIObject_Draw(somSelf,ev,whichPort,drawRgn) \
(SOM_Resolve(somSelf, HIObject, Draw) \
(somSelf,ev,whichPort,drawRgn))
#ifndef SOMGD_Draw
#if defined _Draw || defined __Draw
#undef _Draw
#undef __Draw
#define SOMGD_Draw 1
#else
#define _Draw HIObject_Draw
#endif /* _Draw */
#endif /* SOMGD_Draw */
/*
* New Method: Erase
*/
typedef void (SOMLINK *somTD_HIObject_Erase)(HIObject *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
#define somMD_HIObject_Erase "::HIObject::Erase"
#define HIObject_Erase(somSelf,ev,whichPort,eraseRgn) \
(SOM_Resolve(somSelf, HIObject, Erase) \
(somSelf,ev,whichPort,eraseRgn))
#ifndef SOMGD_Erase
#if defined _Erase || defined __Erase
#undef _Erase
#undef __Erase
#define SOMGD_Erase 1
#else
#define _Erase HIObject_Erase
#endif /* _Erase */
#endif /* SOMGD_Erase */
/*
* New Method: Invalidate
*/
typedef void (SOMLINK *somTD_HIObject_Invalidate)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Invalidate "::HIObject::Invalidate"
#define HIObject_Invalidate(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Invalidate) \
(somSelf,ev))
#ifndef SOMGD_Invalidate
#if defined _Invalidate || defined __Invalidate
#undef _Invalidate
#undef __Invalidate
#define SOMGD_Invalidate 1
#else
#define _Invalidate HIObject_Invalidate
#endif /* _Invalidate */
#endif /* SOMGD_Invalidate */
/*
* New Method: GetDrawingMode
*/
typedef HIDrawingMode (SOMLINK *somTD_HIObject_GetDrawingMode)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetDrawingMode "::HIObject::GetDrawingMode"
#define HIObject_GetDrawingMode(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetDrawingMode) \
(somSelf,ev))
#ifndef SOMGD_GetDrawingMode
#if defined _GetDrawingMode || defined __GetDrawingMode
#undef _GetDrawingMode
#undef __GetDrawingMode
#define SOMGD_GetDrawingMode 1
#else
#define _GetDrawingMode HIObject_GetDrawingMode
#endif /* _GetDrawingMode */
#endif /* SOMGD_GetDrawingMode */
/*
* New Method: SetDrawingMode
*/
typedef void (SOMLINK *somTD_HIObject_SetDrawingMode)(HIObject *somSelf, Environment *ev,
HIDrawingMode drawingMode);
#define somMD_HIObject_SetDrawingMode "::HIObject::SetDrawingMode"
#define HIObject_SetDrawingMode(somSelf,ev,drawingMode) \
(SOM_Resolve(somSelf, HIObject, SetDrawingMode) \
(somSelf,ev,drawingMode))
#ifndef SOMGD_SetDrawingMode
#if defined _SetDrawingMode || defined __SetDrawingMode
#undef _SetDrawingMode
#undef __SetDrawingMode
#define SOMGD_SetDrawingMode 1
#else
#define _SetDrawingMode HIObject_SetDrawingMode
#endif /* _SetDrawingMode */
#endif /* SOMGD_SetDrawingMode */
/*
* New Method: SetBackgroundPattern
*/
typedef void (SOMLINK *somTD_HIObject_SetBackgroundPattern)(HIObject *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
#define somMD_HIObject_SetBackgroundPattern "::HIObject::SetBackgroundPattern"
#define HIObject_SetBackgroundPattern(somSelf,ev,backgroundPattern) \
(SOM_Resolve(somSelf, HIObject, SetBackgroundPattern) \
(somSelf,ev,backgroundPattern))
#ifndef SOMGD_SetBackgroundPattern
#if defined _SetBackgroundPattern || defined __SetBackgroundPattern
#undef _SetBackgroundPattern
#undef __SetBackgroundPattern
#define SOMGD_SetBackgroundPattern 1
#else
#define _SetBackgroundPattern HIObject_SetBackgroundPattern
#endif /* _SetBackgroundPattern */
#endif /* SOMGD_SetBackgroundPattern */
/*
* New Method: GetBackgroundPattern
*/
typedef PixPatHandle (SOMLINK *somTD_HIObject_GetBackgroundPattern)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetBackgroundPattern "::HIObject::GetBackgroundPattern"
#define HIObject_GetBackgroundPattern(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetBackgroundPattern) \
(somSelf,ev))
#ifndef SOMGD_GetBackgroundPattern
#if defined _GetBackgroundPattern || defined __GetBackgroundPattern
#undef _GetBackgroundPattern
#undef __GetBackgroundPattern
#define SOMGD_GetBackgroundPattern 1
#else
#define _GetBackgroundPattern HIObject_GetBackgroundPattern
#endif /* _GetBackgroundPattern */
#endif /* SOMGD_GetBackgroundPattern */
/*
* New Method: Cut
*/
typedef void (SOMLINK *somTD_HIObject_Cut)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Cut "::HIObject::Cut"
#define HIObject_Cut(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Cut) \
(somSelf,ev))
#ifndef SOMGD_Cut
#if defined _Cut || defined __Cut
#undef _Cut
#undef __Cut
#define SOMGD_Cut 1
#else
#define _Cut HIObject_Cut
#endif /* _Cut */
#endif /* SOMGD_Cut */
/*
* New Method: Copy
*/
typedef void (SOMLINK *somTD_HIObject_Copy)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Copy "::HIObject::Copy"
#define HIObject_Copy(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Copy) \
(somSelf,ev))
#ifndef SOMGD_Copy
#if defined _Copy || defined __Copy
#undef _Copy
#undef __Copy
#define SOMGD_Copy 1
#else
#define _Copy HIObject_Copy
#endif /* _Copy */
#endif /* SOMGD_Copy */
/*
* New Method: Paste
*/
typedef void (SOMLINK *somTD_HIObject_Paste)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Paste "::HIObject::Paste"
#define HIObject_Paste(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Paste) \
(somSelf,ev))
#ifndef SOMGD_Paste
#if defined _Paste || defined __Paste
#undef _Paste
#undef __Paste
#define SOMGD_Paste 1
#else
#define _Paste HIObject_Paste
#endif /* _Paste */
#endif /* SOMGD_Paste */
/*
* New Method: Clear
*/
typedef void (SOMLINK *somTD_HIObject_Clear)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Clear "::HIObject::Clear"
#define HIObject_Clear(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Clear) \
(somSelf,ev))
#ifndef SOMGD_Clear
#if defined _Clear || defined __Clear
#undef _Clear
#undef __Clear
#define SOMGD_Clear 1
#else
#define _Clear HIObject_Clear
#endif /* _Clear */
#endif /* SOMGD_Clear */
/*
* New Method: GetClipboardSupportFlags
*/
typedef HIClipboardSupportFlags (SOMLINK *somTD_HIObject_GetClipboardSupportFlags)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_GetClipboardSupportFlags "::HIObject::GetClipboardSupportFlags"
#define HIObject_GetClipboardSupportFlags(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, GetClipboardSupportFlags) \
(somSelf,ev))
#ifndef SOMGD_GetClipboardSupportFlags
#if defined _GetClipboardSupportFlags || defined __GetClipboardSupportFlags
#undef _GetClipboardSupportFlags
#undef __GetClipboardSupportFlags
#define SOMGD_GetClipboardSupportFlags 1
#else
#define _GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
#endif /* _GetClipboardSupportFlags */
#endif /* SOMGD_GetClipboardSupportFlags */
/*
* New Method: AddStateChangeCallback
*/
typedef OSStatus (SOMLINK *somTD_HIObject_AddStateChangeCallback)(HIObject *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
#define somMD_HIObject_AddStateChangeCallback "::HIObject::AddStateChangeCallback"
#define HIObject_AddStateChangeCallback(somSelf,ev,changedStateCallback,newCallbackRef) \
(SOM_Resolve(somSelf, HIObject, AddStateChangeCallback) \
(somSelf,ev,changedStateCallback,newCallbackRef))
#ifndef SOMGD_AddStateChangeCallback
#if defined _AddStateChangeCallback || defined __AddStateChangeCallback
#undef _AddStateChangeCallback
#undef __AddStateChangeCallback
#define SOMGD_AddStateChangeCallback 1
#else
#define _AddStateChangeCallback HIObject_AddStateChangeCallback
#endif /* _AddStateChangeCallback */
#endif /* SOMGD_AddStateChangeCallback */
/*
* New Method: RemoveStateChangeCallback
*/
typedef OSStatus (SOMLINK *somTD_HIObject_RemoveStateChangeCallback)(HIObject *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
#define somMD_HIObject_RemoveStateChangeCallback "::HIObject::RemoveStateChangeCallback"
#define HIObject_RemoveStateChangeCallback(somSelf,ev,callbackRefToRemove) \
(SOM_Resolve(somSelf, HIObject, RemoveStateChangeCallback) \
(somSelf,ev,callbackRefToRemove))
#ifndef SOMGD_RemoveStateChangeCallback
#if defined _RemoveStateChangeCallback || defined __RemoveStateChangeCallback
#undef _RemoveStateChangeCallback
#undef __RemoveStateChangeCallback
#define SOMGD_RemoveStateChangeCallback 1
#else
#define _RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
#endif /* _RemoveStateChangeCallback */
#endif /* SOMGD_RemoveStateChangeCallback */
/*
* Direct call procedure
*/
typedef OSStatus (SOMLINK *somTD_HIObject_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
#define HIObject_GetHIObjectFromRefLabel ((somTD_HIObject_GetHIObjectFromRefLabel) HIObjectClassData.GetHIObjectFromRefLabel)
#ifndef SOMGD_GetHIObjectFromRefLabel
#if defined _GetHIObjectFromRefLabel || defined __GetHIObjectFromRefLabel
#undef _GetHIObjectFromRefLabel
#undef __GetHIObjectFromRefLabel
#define SOMGD_GetHIObjectFromRefLabel 1
#else
#define _GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
#endif /* _GetHIObjectFromRefLabel */
#endif /* SOMGD_GetHIObjectFromRefLabel */
/*
* Direct call procedure
*/
typedef OSStatus (SOMLINK *somTD_HIObject_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
#define HIObject_GetNewHIObject ((somTD_HIObject_GetNewHIObject) HIObjectClassData.GetNewHIObject)
#ifndef SOMGD_GetNewHIObject
#if defined _GetNewHIObject || defined __GetNewHIObject
#undef _GetNewHIObject
#undef __GetNewHIObject
#define SOMGD_GetNewHIObject 1
#else
#define _GetNewHIObject HIObject_GetNewHIObject
#endif /* _GetNewHIObject */
#endif /* SOMGD_GetNewHIObject */
/*
* Direct call procedure
*/
typedef OSStatus (SOMLINK *somTD_HIObject_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
#define HIObject_GetNewHIObjectFromResource ((somTD_HIObject_GetNewHIObjectFromResource) HIObjectClassData.GetNewHIObjectFromResource)
#ifndef SOMGD_GetNewHIObjectFromResource
#if defined _GetNewHIObjectFromResource || defined __GetNewHIObjectFromResource
#undef _GetNewHIObjectFromResource
#undef __GetNewHIObjectFromResource
#define SOMGD_GetNewHIObjectFromResource 1
#else
#define _GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
#endif /* _GetNewHIObjectFromResource */
#endif /* SOMGD_GetNewHIObjectFromResource */
/*
* New Method: DrawContent
*/
typedef void (SOMLINK *somTD_HIObject_DrawContent)(HIObject *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
#define somMD_HIObject_DrawContent "::HIObject::DrawContent"
#define HIObject_DrawContent(somSelf,ev,whichPort,drawRgn) \
(SOM_Resolve(somSelf, HIObject, DrawContent) \
(somSelf,ev,whichPort,drawRgn))
#ifndef SOMGD_DrawContent
#if defined _DrawContent || defined __DrawContent
#undef _DrawContent
#undef __DrawContent
#define SOMGD_DrawContent 1
#else
#define _DrawContent HIObject_DrawContent
#endif /* _DrawContent */
#endif /* SOMGD_DrawContent */
/*
* New Method: EraseContent
*/
typedef void (SOMLINK *somTD_HIObject_EraseContent)(HIObject *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
#define somMD_HIObject_EraseContent "::HIObject::EraseContent"
#define HIObject_EraseContent(somSelf,ev,whichPort,regionToErase) \
(SOM_Resolve(somSelf, HIObject, EraseContent) \
(somSelf,ev,whichPort,regionToErase))
#ifndef SOMGD_EraseContent
#if defined _EraseContent || defined __EraseContent
#undef _EraseContent
#undef __EraseContent
#define SOMGD_EraseContent 1
#else
#define _EraseContent HIObject_EraseContent
#endif /* _EraseContent */
#endif /* SOMGD_EraseContent */
/*
* New Method: TranslatePoint
*/
typedef void (SOMLINK *somTD_HIObject_TranslatePoint)(HIObject *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
#define somMD_HIObject_TranslatePoint "::HIObject::TranslatePoint"
#define HIObject_TranslatePoint(somSelf,ev,translateFrom,translateTo,sourcePoint,translatedPoint) \
(SOM_Resolve(somSelf, HIObject, TranslatePoint) \
(somSelf,ev,translateFrom,translateTo,sourcePoint,translatedPoint))
#ifndef SOMGD_TranslatePoint
#if defined _TranslatePoint || defined __TranslatePoint
#undef _TranslatePoint
#undef __TranslatePoint
#define SOMGD_TranslatePoint 1
#else
#define _TranslatePoint HIObject_TranslatePoint
#endif /* _TranslatePoint */
#endif /* SOMGD_TranslatePoint */
/*
* New Method: TranslateRect
*/
typedef void (SOMLINK *somTD_HIObject_TranslateRect)(HIObject *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
#define somMD_HIObject_TranslateRect "::HIObject::TranslateRect"
#define HIObject_TranslateRect(somSelf,ev,translateFrom,translateTo,sourceRect,translatedRect) \
(SOM_Resolve(somSelf, HIObject, TranslateRect) \
(somSelf,ev,translateFrom,translateTo,sourceRect,translatedRect))
#ifndef SOMGD_TranslateRect
#if defined _TranslateRect || defined __TranslateRect
#undef _TranslateRect
#undef __TranslateRect
#define SOMGD_TranslateRect 1
#else
#define _TranslateRect HIObject_TranslateRect
#endif /* _TranslateRect */
#endif /* SOMGD_TranslateRect */
/*
* New Method: StateChanged
*/
typedef void (SOMLINK *somTD_HIObject_StateChanged)(HIObject *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
#define somMD_HIObject_StateChanged "::HIObject::StateChanged"
#define HIObject_StateChanged(somSelf,ev,selectorCreator,changedCode) \
(SOM_Resolve(somSelf, HIObject, StateChanged) \
(somSelf,ev,selectorCreator,changedCode))
#ifndef SOMGD_StateChanged
#if defined _StateChanged || defined __StateChanged
#undef _StateChanged
#undef __StateChanged
#define SOMGD_StateChanged 1
#else
#define _StateChanged HIObject_StateChanged
#endif /* _StateChanged */
#endif /* SOMGD_StateChanged */
/*
* New Method: SetClipboardSupportFlags
*/
typedef void (SOMLINK *somTD_HIObject_SetClipboardSupportFlags)(HIObject *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
#define somMD_HIObject_SetClipboardSupportFlags "::HIObject::SetClipboardSupportFlags"
#define HIObject_SetClipboardSupportFlags(somSelf,ev,flags) \
(SOM_Resolve(somSelf, HIObject, SetClipboardSupportFlags) \
(somSelf,ev,flags))
#ifndef SOMGD_SetClipboardSupportFlags
#if defined _SetClipboardSupportFlags || defined __SetClipboardSupportFlags
#undef _SetClipboardSupportFlags
#undef __SetClipboardSupportFlags
#define SOMGD_SetClipboardSupportFlags 1
#else
#define _SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
#endif /* _SetClipboardSupportFlags */
#endif /* SOMGD_SetClipboardSupportFlags */
/*
* New Method: Verify
*/
typedef OSStatus (SOMLINK *somTD_HIObject_Verify)(HIObject *somSelf, Environment *ev);
#define somMD_HIObject_Verify "::HIObject::Verify"
#define HIObject_Verify(somSelf,ev) \
(SOM_Resolve(somSelf, HIObject, Verify) \
(somSelf,ev))
#ifndef SOMGD_Verify
#if defined _Verify || defined __Verify
#undef _Verify
#undef __Verify
#define SOMGD_Verify 1
#else
#define _Verify HIObject_Verify
#endif /* _Verify */
#endif /* SOMGD_Verify */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define HIObject_somInit SOMObject_somInit
#define HIObject_somUninit SOMObject_somUninit
#define HIObject_somDuplicateReference SOMObject_somDuplicateReference
#define HIObject_somCompareReference SOMObject_somCompareReference
#define HIObject_somRelease SOMObject_somRelease
#define HIObject_somFree SOMObject_somFree
#define HIObject_somCanDelete SOMObject_somCanDelete
#define HIObject_somGetClass SOMObject_somGetClass
#define HIObject_somGetClassName SOMObject_somGetClassName
#define HIObject_somGetSize SOMObject_somGetSize
#define HIObject_somIsA SOMObject_somIsA
#define HIObject_somRespondsTo SOMObject_somRespondsTo
#define HIObject_somIsInstanceOf SOMObject_somIsInstanceOf
#define HIObject_somDispatch SOMObject_somDispatch
#define HIObject_somClassDispatch SOMObject_somClassDispatch
#define HIObject_somCastObj SOMObject_somCastObj
#define HIObject_somResetObj SOMObject_somResetObj
#define HIObject_somPrintSelf SOMObject_somPrintSelf
#define HIObject_somDumpSelf SOMObject_somDumpSelf
#define HIObject_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_HIObject_h */